PMD Setup

SUMMARY

Via the pull-down menu ‘Setup’ the Editor may be modified in its basic setups.
Attribute- and Figure- Condition tables may be created and modified.

CONTENTS

  1. Snap to grid
  2. Show grid
  3. Grid settings
  4. Night palette on
  5. Color palette
  6. Attribute condition tables
  7. Figure Condition table
  8. Enable selection
  9. Zoom

Snap to grid

If "Snap to grid" is activated any new graphic object is aligned on the grid.
(If a newly inserted figure, whose size does not fit into the grid, is brought to ‘original size’ its left top corner stays aligned to the grid.)

Existing graphic objects are:

Show grid

If that option is activated, the grid is displayed.
(Neither on printing nor in the runtime the grid is shown.)

Grid settings

Via that menu point the horizontal/vertical step-width of the grid (in pixels) may be modified.
The setup than is valid for all pictures, it is saved on closing the Editor and effective on restart again.

Night palette on

The option ‘Night palette on’ displays – after ‘Redraw’ – the picture in the colors of the night palette.
The colors for the palettes may be modified via the menu point “Color palette…”. See next chapter.

Note:
To avoid that a user is dazzled by the screen at night it can be switched to a Night Palette defined in a darker shade of colors. In runtime it can be switched dynamically between the color palettes by the action "Usr_SelPal".
It’s a good idea to place an appropriate button in the menu area or the header.

Color palette

Via that menu point the dialog window "Color palette" is called. The whole color scale used in the Editor may be defined.

WARNING
If a color of a palette is changed, the change is applied to ALL objects in any picture of the actual version of the project using that color.

Dialog elements of the Color Palette
Name Description
Day
    Flash1:
    Flash2:
Definition for the color of the Day-Palette.
A color got two conditions (Flash1, 2). In-between those two it is switched in cycles of 1 second during runtime; it is not possible to modify that time. The rectangle for a color in the color bar of the Editor shows the ‘flash2’ color in the upper left part – und ‘flash1’ color in the lower right part. If for flash1, 2 the same color is defined it means no flashing.
Only one color may be modified at a time, the color to be modified is marked with a black frame.
Night
    Flash1:
    Flash2:
Definition for the color of the Night-Palette.
Corresponds to Day-Palette.
RGB
    Red:
    Green:
    Blue:
Via the slider the marked color may be defined according to its red-, green-, blue portion. The definition may also be inputted via the entry fields right aside the sliders.
HSV
    Hue:
    Saturation:
    Value:
Via the slider the marked color may be defined according to its hue-, saturation- and value portion. The definition may also be inputted via the entry fields right aside the sliders.
Colors 1...16
Colors 17...32
Colors 33...48
Colors 49...64
Via radio-button a color group may be selected.
Color name Entryfield for a color name.
No flash If "Flash1" is selected and the button clicked the selection of "Flash2" causes the "Flash1" color to be written to "Flash2". (And vice versa)
Undo Resets the last modification.
Undo all Resets all modifications.
Save Saves the made modifications.
Cancel Resets all modifications and closes the dialog window.

Attribute condition tables

Via that menu point an Attribute condition table can be created or modified.

ALPHA-VISION®VISU offers to dynamize the attributes:
LINE COLOR – FILL COLOR – LINE STYLE
of a graphic object.

To do so, a graphic object is selected und via the category “Dynamic” in the pull-down menu ‘Edit’, item ‘Attributes sequential’ an “Attribute condition table” is selected for the defined function.
The condition table created here lists the attributes that are valid on receiving a defined return value.

On selecting, a dialog window divided into 4 areas, is opened.

Areas of the dialog window:

States
The empty list field got 5 columns, there are 3 buttons for actions:
Name Description
State Defines the return value
Description Description for the defined state
Line color Defines the Line color
Fill color Defines the Fill color
Line style Defines the Line style
Add state Action: The entries/modifications made in the area “Edit“ are added to the list field.
Change state Action: The line marked in the list field is overwritten by the entries/modifications made in the area “Edit”
Delete state Action: The line marked in the list field is deleted.

Edit
Here the return values are linked to the wanted attributes.
Name Description
State Defines the return value
Only integer values are permitted !
Special case: The value -1 defines the attribute to be used if the return value is not defined in the list.
Description Entry for the description (max. 10 Characters)
Line color Entry for the Line color via selection
Fill color Entry for the Fill color via selection
Line style Entry for the Line color via selection

Condition table
Name Description
Description Arbitrary Description for the Condition table (max. 30 characters)
Match range That check box defines the behavior of the dynamic function for not defined return values:
  • If “Match range” is ticked - for a return value in-between two defined values the attribute for the next higher defined value is selected.
  • If “Match range” is NOT ticked - for any not defined return value the attribute defined for –1 is selected.
Example:

Match range on:
If the states -1, 0, 1, 5, 6 are defined, the return values 2, 3, 4 are associated with the attribute for the return value of 5.
Return values of 7 and higher are associated with the attribute defined for -1

Match range off:
If the states -1, 0, 1, 5, 6 are defined, the return values 2, 3, 4 are associated with the attribute defined for -1.
Return values of 7 and higher are associated with the attribute defined for -1

Load/Save
Name Description
Load An additional dialog window is opened, showing a list of the available Attribute Condition tables.
Via double click with the mouse or the button OK the selected table is opened.
Delete The opened table may be deleted; via a dialog window the action can be confirmed or aborted.
Save The opened table is saved.
Save as The opened table may be saved under a different name – a dialog window is opened, it list all existing tables and prompts for the new name.
Close Editing of the Attribute condition table is terminated – if made modifications are not saved yet, a dialog window asks to do so.

Figure Condition table

Via that menu point an Figure condition table can be created or modified.

ALPHA-VISION®VISU offers the opportunity to exchange figures.

To do so, a placed figure is selected und via the category “Dynamic” in the pull-down menu ‘Edit’, item ‘Attributes sequential’ an “Figure condition table” is selected for the defined function.
The condition table created here lists the figures to be displayed on receiving a defined return value.

Note:
The dx, dy expansion of the original placed figure is always kept; any figure exchanged gets aligned!
On selecting, a dialog window divided into 4 areas, is opened

Areas of the dialog window:

States
The empty list field got 5 columns, there are 3 buttons for actions:
Name Description
State Defines the return value
Description Description for the defined state
Figure Defines the Figur
Rotate Defines the Rotation
Mirror Defines the Mirroring
Add state Action: The entries/modifications made in the area “Edit“ are added to the list field.
Change state Action: The line marked in the list field is overwritten by the entries/modifications made in the area “Edit”
Delete state Action: The line marked in the list field is deleted.

Edit
Here the return values are linked to the wanted figures.
Name Description
State Defines the return value
Only integer values are permitted!
Special case: The value -1 defines the Figure to be used if the return value is not defined in the list.
Description Entry for the description (max. 10 Characters)
Figure Entry for the Figure via selection
Rotation Entry for the Rotation via selection.
The original figure is turned counter clockwise by the selected degrees.
Mirror Check boxes for mirroring.
The original figure is mirrored horizontally or vertically on its own axis.

Condition table
Name Description
Description Arbitrary Description for the Condition table (max. 30 characters)
Match range That check box defines the behavior of the dynamic function for not defined return values:
  • If “Match range” is ticked - for a return value in-between two defined values the figure for the next higher defined value is selected.
  • If “Match range” is NOT ticked - for any not defined return value the figure defined for –1 is selected.
Example:

Match range on:
If the states -1, 0, 1, 5, 6 are defined, the return values 2, 3, 4 are associated with the figure for the return value of 5.
Return values of 7 and higher are associated with the figure defined for -1

Match range off:
If the states -1, 0, 1, 5, 6 are defined, the return values 2, 3, 4 are associated with the figure defined for -1.
Return values of 7 and higher are associated with the figure defined for -1

Load/Save
Name Description
Load An additional dialog window is opened, showing a list of the available Figure Condition tables.
Via double click with the mouse or the button OK the selected table is opened.
Delete The opened table may be deleted; via a dialog window the action can be confirmed or aborted.
Save The opened table is saved.
Save as The opened table may be saved under a different name – a dialog window is opened, it list all existing tables and prompts for the new name.
Close Editing of the Figure condition table is terminated – if made modifications are not saved yet, a dialog window asks to do so.

Enable selection

Via that menu point a dialog is activated to enable or disable the selection of the different graphic object types by mouse click.
In the dialog window any object type got a check box – a ticked box enables selection of that object type.

Dialog elements:
Name Description
Enable all Enables selection of all object types
Disable all Disables selection of all object types
OK Adopts the made selections and closes the dialog window
Cancel discards the made selections and closes the dialog window

Zoom

Via that menu point a submenu is activated to define the scale of displayed picture.
When the Editor is started any picture is displayed in its original size (100%), selecting 200% to 500% increases the picture scale by the according factor.
‘Fit to screen’ scales the selected picture into the available working space.